/*
 * Copyright (c) 2023-2299 深圳市阿毛科技有限公司 All rights reserved.
 *
 * https://www.lamyz.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.lam.mall.app.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.lam.common.serializer.json.ImgJsonSerializer;

import lombok.Data;

/**
 * @author lam
 */
@Data
//@Schema(description = "搜索商品数据")
public class SearchProdVo {

    //@Schema(description = "商品id" )
    private String id;

    //@Schema(description = "商品照片" )
    @JsonSerialize(using = ImgJsonSerializer.class)
    private String pic;

    //@Schema(description = "商品名字" )
    private String prodName;

    //@Schema(description = "商品价格" )
    private Double price;

    //@Schema(description = "商品评论数量" )
    private Integer prodCommNumber;

    //@Schema(description = "好评率" )
    private Double positiveRating;

    //@Schema(description = "好评数量" )
    private Integer praiseNumber;

}
